package com.yn.xgame;

import java.util.regex.Pattern;

/**
 * 全局变量
 * Created by wangboo on 2017/7/12.
 */
public class GlobalSetting {

    public static final String ZK_PREFIX = "/yn";

    public static final Pattern P_ZK_MATCH_NO = Pattern.compile("^[a-zA-Z\\/]+(\\d+)$");
    // 匹配如 benz1 -> benz
    public static final Pattern P_DROP_SUFFIX_NUMBER = Pattern.compile("^([a-zA-Z_]+)\\d+$");

    public static final String GAME_FISH = "fish";
    // 离线后，30秒后保存
    public static final long TIME_DUMP_SECONDS = 300_000;
}
